const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  errorLogs: state => state.errorLog.logs,

  token: state => state.auth.token,
  granted_routes: state => state.auth.routes,

  app: state => state.app.app,
  language: state => state.app.language,
  itemTypes: state => state.app.itemTypes,
  recommends: state => state.app.recommends,
  dicts: state => state.app.dicts,

  tenant: state => state.session.tenant,
  tenantId: state => state.session.tenantId,
  user: state => state.session.user,
  userId: state => state.session.userId
}
export default getters
